home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 3.iso / dist / fw_qt3.idb / usr / freeware / Qt / examples / desktop / Makefile.z / Makefile
Makefile  |  2002-04-08  |  5KB  |  183 lines

  1. #############################################################################
  2. # Makefile for building: desktop
  3. # Generated by qmake (1.02a) on: Fri Apr  5 10:56:12 2002
  4. # Project:  desktop.pro
  5. # Template: app
  6. # Command: $(QMAKE) desktop.pro
  7. #############################################################################
  8.  
  9. ####### Compiler, tools and options
  10.  
  11. CC       = cc
  12. CXX      = CC
  13. LEX      = flex
  14. YACC     = yacc
  15. CFLAGS   = -n32 -woff 1021,1209,1233,1314,1355,1375,1506 -fullwarn -O2 -OPT:Olimit=3000  -DQT_NO_DEBUG -DQT_SHARED
  16. CXXFLAGS = -n32 -LANG:ansi-for-init-scope=ON:bool=ON -woff 1021,1209,1233,1314,1355,1375,1506,1681,1682,3496 -fullwarn -O2 -OPT:Olimit=3000  -DQT_NO_DEBUG -DQT_SHARED
  17. LEXFLAGS = 
  18. YACCFLAGS= -d
  19. INCPATH  = -I$(QTDIR)/include -I.moc/release/ -I$(QTDIR)/mkspecs/irix-n32
  20. LINK     = CC
  21. LFLAGS   = -n32
  22. LIBS     = $(SUBLIBS) -Wl,-rpath,/xlv1/freeware/2002.May/qt/3.0.3/src.diffbuild/qt-x11-free-3.0.3/lib -L/xlv1/freeware/2002.May/qt/3.0.3/src.diffbuild/qt-x11-free-3.0.3/lib -lqt -lGLU -lGL -lXmu -lm -lICE -lSM -lXext -lX11 -lm
  23. AR       = CC -ar -o
  24. RANLIB   = 
  25. MOC      = $(QTDIR)/bin/moc
  26. UIC      = $(QTDIR)/bin/uic
  27. QMAKE    = qmake
  28. TAR      = tar -cf
  29. GZIP     = gzip -9f
  30. COPY     = cp -f
  31. COPY_FILE= $(COPY) -p
  32. COPY_DIR = $(COPY) -pR
  33. DEL_FILE = rm -f
  34. DEL_DIR  = rmdir
  35. MOVE     = mv
  36.  
  37. ####### Output directory
  38.  
  39. OBJECTS_DIR = .obj/release/
  40.  
  41. ####### Files
  42.  
  43. HEADERS = 
  44. SOURCES = desktop.cpp
  45. OBJECTS = .obj/release/desktop.o
  46. FORMS = 
  47. UICDECLS = 
  48. UICIMPLS = 
  49. SRCMOC   = 
  50. OBJMOC = 
  51. DIST       = 
  52. QMAKE_TARGET = desktop
  53. DESTDIR  = 
  54. TARGET   = desktop
  55.  
  56. first: all
  57. ####### Implicit rules
  58.  
  59. .SUFFIXES: .c .cpp .cc .cxx .C
  60.  
  61. .cpp.o:
  62.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  63.  
  64. .cc.o:
  65.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  66.  
  67. .cxx.o:
  68.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  69.  
  70. .C.o:
  71.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
  72.  
  73. .c.o:
  74.     $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
  75.  
  76. ####### Build rules
  77.  
  78. all: Makefile $(TARGET)
  79.  
  80. $(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) 
  81.     $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
  82.  
  83. mocables: $(SRCMOC)
  84.  
  85. $(MOC): 
  86.     ( cd $(QTDIR)/src/moc ; $(MAKE) )
  87.  
  88. Makefile: desktop.pro ../../.qmake.cache $(QTDIR)/mkspecs/irix-n32/qmake.conf ../../lib/libqt.prl
  89.     $(QMAKE) desktop.pro
  90. qmake: 
  91.     @$(QMAKE) desktop.pro
  92.  
  93. dist: 
  94.     @mkdir -p .obj/release/desktop && $(COPY_FILE) --parents $(SOURCES) $(HEADERS) $(FORMS) $(DIST) .obj/release/desktop/ && ( cd `dirname .obj/release/desktop` && $(TAR) desktop.tar desktop && $(GZIP) desktop.tar ) && mv `dirname .obj/release/desktop`/desktop.tar.gz . && rm -rf .obj/release/desktop
  95.  
  96. mocclean:
  97.  
  98. uiclean:
  99.  
  100. clean:
  101.     -rm -f $(OBJECTS) 
  102.     -rm -f -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
  103.     -rm -f *~ core *.core
  104.  
  105.  
  106. ####### Sub-libraries
  107.  
  108. distclean: clean
  109.     -rm -f $(TARGET) $(TARGET)
  110.     
  111.  
  112. FORCE:
  113.  
  114. ####### Compile
  115.  
  116. .obj/release/desktop.o: desktop.cpp ../../include/qimage.h \
  117.         ../../include/qbitmap.h \
  118.         ../../include/qpainter.h \
  119.         ../../include/qapplication.h \
  120.         ../../include/qdropsite.h \
  121.         ../../include/qdragobject.h \
  122.         ../../include/qpixmap.h \
  123.         ../../include/qstrlist.h \
  124.         ../../include/qstringlist.h \
  125.         ../../include/qpaintdevice.h \
  126.         ../../include/qcolor.h \
  127.         ../../include/qstring.h \
  128.         ../../include/qnamespace.h \
  129.         ../../include/qwindowdefs.h \
  130.         ../../include/qrect.h \
  131.         ../../include/qobjectdefs.h \
  132.         ../../include/qglobal.h \
  133.         ../../include/qconfig-minimal.h \
  134.         ../../include/qconfig-small.h \
  135.         ../../include/qconfig-medium.h \
  136.         ../../include/qconfig-large.h \
  137.         ../../include/qconfig.h \
  138.         ../../include/qmodules.h \
  139.         ../../include/qfeatures.h \
  140.         ../../include/qcstring.h \
  141.         ../../include/qmemarray.h \
  142.         ../../include/qgarray.h \
  143.         ../../include/qshared.h \
  144.         ../../include/qsize.h \
  145.         ../../include/qpoint.h \
  146.         ../../include/qptrlist.h \
  147.         ../../include/qdatastream.h \
  148.         ../../include/qglist.h \
  149.         ../../include/qptrcollection.h \
  150.         ../../include/qiodevice.h \
  151.         ../../include/qvaluelist.h \
  152.         ../../include/qtl.h \
  153.         ../../include/qtextstream.h \
  154.         ../../include/qfontmetrics.h \
  155.         ../../include/qfontinfo.h \
  156.         ../../include/qregion.h \
  157.         ../../include/qpen.h \
  158.         ../../include/qbrush.h \
  159.         ../../include/qpointarray.h \
  160.         ../../include/qwmatrix.h \
  161.         ../../include/qfont.h \
  162.         ../../include/qdesktopwidget.h \
  163.         ../../include/qasciidict.h \
  164.         ../../include/qpalette.h \
  165.         ../../include/qtranslator.h \
  166.         ../../include/quuid.h \
  167.         ../../include/qwidget.h \
  168.         ../../include/qobject.h \
  169.         ../../include/qsizepolicy.h \
  170.         ../../include/qevent.h \
  171.         ../../include/qmime.h \
  172.         ../../include/qpair.h \
  173.         ../../include/qmap.h \
  174.         ../../include/qgdict.h
  175.     $(CXX) -c $(CXXFLAGS) $(INCPATH) -o .obj/release/desktop.o desktop.cpp
  176.  
  177. ####### Install
  178.  
  179. install: all 
  180.  
  181. uninstall: 
  182.  
  183.